#include <iostream>
#include <string>
#include<fstream>
#include<sstream>
#include<cassert>
using namespace std;
template <typename Graph>
class ReadGraph
{
private:
    /* data */
public:
    ReadGraph(Graph &graph,const string &filename){
        ifstream file(filename);
        string line;
        int V,E;
        assert(file.is_open());
        assert(getline(file,line));
        stringstream ss(line);
        ss>>V>>E;
        assert(v==graph.V());
        for (int i = 0; i < E; i++)
        {
            assert(getline(file,line));
            stringstream ss(line);
        }
        
    }
    ~ReadGraph();
};

